Show:

ia.CalloutBox Class

Defined in: ia\ui\CalloutBox.js:1
Module: ia

Creates a callout box.

Constructor

ia.CalloutBox

(
  • id
  • notchPosition
)

Parameters:

  • id String

    The element id.

  • notchPosition String

    "top-bottom" or "left-right" or "none".

Item Index

Methods

append

(
  • obj
)

Appends an element.

Parameters:

  • obj JQUERY Element

    The jquery object.

hide

()

Hide the callout.

popup

(
  • isPopup
)

Sets or gets if its a popup - closes on a click outside the callout.

Parameters:

  • isPopup Boolean

    true/false.

position

(
  • x
  • y
)

Positions the callout.

Parameters:

  • x Number

    The x position.

  • y Number

    The y position.

show

()

Show the callout.

toggle

(
  • visible
)

Toggles the visibility of the callout.

Parameters:

  • visible Boolean

    true/false.

Properties

container

JQUERY Element

The container that holds the object.

id

String

The id.

notchPosition

String

"top-bottom" or "left-right".

Default: "left-right"